/**
 * ReportGear(2011)
 */
package com.reportgear.report.model.calculator;

/**
 * Id与父Id对象
 * 
 * @version 1.0 2011-6-16
 * @author <a herf="lexloo@gmail.com">lexloo</a>
 * @since Report 1.0
 */
public class IdParentId {
	public final int id;
	public final int parentId;

	public IdParentId(int id, int parentId) {
		this.id = id;
		this.parentId = parentId;
	}

	@Override
	public String toString() {
		return this.parentId + "->" + this.id;
	}
}
